package com.xyz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xyz.entity.Announcement;
import com.baomidou.mybatisplus.extension.service.IService;

import com.xyz.entity.vo.ListAnnouncementVO;
import com.xyz.entity.request.PublishAnnouncementRequest;

/**
 * <p>
 * 公告表 服务类
 * </p>
 *
 * @author author
 * @since 2022-04-27
 */
public interface IAnnouncementService extends IService<Announcement> {
    Page<ListAnnouncementVO> listAnnouncement(Integer page, Integer limit);
    void publishAnnouncement(PublishAnnouncementRequest request);
}
